﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Net.Mime.MediaTypeNames;

namespace CoreShop.Model
{
    public partial class activitysort
    {
        /// <summary>
        /// id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "activityGoodsSortId", IsPrimaryKey = true)]
        public long activityGoodsSortId { get; set; }
        /// <summary>
        /// 活动主id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "activityInfoId", IsNullable = true)]
        public long activityInfoId { get; set; }
        /// <summary>
        /// 分类id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "itemSortId", IsNullable = true)]
        public long itemSortId { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "qty", IsNullable = true)]
        public decimal? qty { get; set; } = 0;
        /// <summary>
        /// 折扣率/特价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "price", IsNullable = true)]
        public decimal? price { get; set; } = 0;
        /// <summary>
        /// 每单限量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "limitQty", IsNullable = true)]
        public decimal? limitQty { get; set; } = 0;
        /// <summary>
        /// 活动状态 0有效 1终止
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "lineStatus", IsNullable = true)]
        public int? lineStatus { get; set; } = 0;

        /// <summary>
        /// 是否排除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "excludeFLag", IsNullable = true)]
        public bool? excludeFLag { get; set; } = true;
    }
}
